import request from '@/utils/request'

/* 商家提现申请列表 */ 
export function merchantList(params) {
  return request({
    url: '/sini/admin/appwith/selectwithByType',
    method: 'get',
    params
  })
}

/* 商家提现订单列表 */ 
export function merchantOrderList(params) {
  return request({
    url: '/sini/admin/appwith/selectwithById',
    method: 'get',
    params
  })
}

/* 商家提现初核 */ 
export function merchantAudit(data) {
  return request({
    url: '/sini/admin/auditlogger/updateAppwith',
    method: 'post',
    data
  })
}

/* 商家提现再核 */ 
export function merchantTwoAudit(data) {
  return request({
    url: '/sini/admin/auditlogger/updatetwoAppwith',
    method: 'post',
    data
  })
}

/* 商家提现终核 */ 
export function merchantThreeAudit(data) {
  return request({
    url: '/sini/admin/auditlogger/updatethreeAppwith',
    method: 'post',
    data
  })
}

/* 商家提现打款 */ 
export function merchantWithdraw(data) {
  return request({
    url: '/sini/admin/auditlogger/updatefourAppwith',
    method: 'post',
    data
  })
}
